package com.huige.quartz.task;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * @Author 朱志辉
 * @Create 2024/9/20 下午8:25
 * @Version 1.0
 * Description:
 */
@Component
public class MyTask {
    public void showTime(){
        System.out.println("定时任务开始执行："+new Date());
    }
}
